{% extends "base_edit.html" %}

{% load breadcrumbs %}
{% load details %}

{% block breadcrumbs %}
    {% add_crumb 'Home' '/' %}
    {% add_crumb 'Users' 'user_list' %}
    {% add_crumb object_user object_user.get_absolute_url %}
    {% add_crumb 'Bookmarks' 'bookmark_list' object_user.username %}
    {% if object.pk %}
    {% add_crumb object.title object.get_absolute_url %}
    {% add_crumb 'Edit' %}
    {% else %}
    {% add_crumb 'Add' %}
    {% endif %}
{% endblock %}

{% block editform %}
<table class="properties">
    {% property_table form "[['title', 'url'], 'description', 'new_window']" %}
</table>
{% endblock %}
